﻿@{
    ViewBag.Title = "WaterMarkTest";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<link rel="stylesheet" href="/JsLib/zeus/plugin/watermark/zeus.plugin.watermark.css" type="text/css" />

@Html.Partial("~/Views/Shared/_PageNote.cshtml")

<p>
	<input type="text" id="first" class="wmark" title="Your first name" />
	<input type="text" id="last" class="wmark" title="Your last name" />
	<input type="button" id="submit" value="Submit" />
</p>


<script type="text/javascript" src="/JsLib/zeus/plugin/watermark/zeus.plugin.watermark.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('input.wmark').watermark();
        $('#submit').click(function () {
            $('input.wmark').clearWatermark();
            ZEUS.DEBUG.log('Welcome ' + $('#first').val() + ' ' + $('#last').val());
            $('input.wmark').blur();
        });
    });
</script>


